package com.ruoyi.teacher.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.teacher.domain.TExam;
import com.ruoyi.teacher.vo.TExamVo;

import java.util.List;

/**
 * 考试Service接口
 *
 * @author ruoyi
 * @date 2024-12-12
 */
public interface ITExamService extends IService<TExam> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<TExamVo> queryList(TExamVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<TExamVo> queryAll(TExamVo entity);

    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    TExamVo queryById(Long id);



}
